package com.scm.persist.mybatis.purchase;

import com.scm.persist.model.purchase.ScmPurchaseInventoryDetail;
import com.scm.persist.model.purchase.ScmPurchaseInventoryDetailExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmPurchaseInventoryDetailMapper {
    int countByExample(ScmPurchaseInventoryDetailExample example);

    int deleteByExample(ScmPurchaseInventoryDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmPurchaseInventoryDetail record);

    int insertSelective(ScmPurchaseInventoryDetail record);

    List<ScmPurchaseInventoryDetail> selectByExampleWithRowbounds(ScmPurchaseInventoryDetailExample example, RowBounds rowBounds);

    List<ScmPurchaseInventoryDetail> selectByExample(ScmPurchaseInventoryDetailExample example);

    ScmPurchaseInventoryDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmPurchaseInventoryDetail record, @Param("example") ScmPurchaseInventoryDetailExample example);

    int updateByExample(@Param("record") ScmPurchaseInventoryDetail record, @Param("example") ScmPurchaseInventoryDetailExample example);

    int updateByPrimaryKeySelective(ScmPurchaseInventoryDetail record);

    int updateByPrimaryKey(ScmPurchaseInventoryDetail record);
}
